﻿@{
	ViewBag.Title = "Главная";
}

<div class="page-header">
	<h2 class="page-title">Real Football Manager</h2>
</div>
<div class="content-inner">
	<div class="news">
		<div class="row">
			<div class="col-md-12">
				<h3 class="widget-title">Последние новости</h3>
			</div>
		</div>
		<div id="news-content">
			@{ Html.RenderAction("News", "News"); }
		</div>
	</div>
</div>

<script type="text/javascript">
		$(document).ready(function () {
			rf.news.init({
				urls: {
					refreshGrid: '@(WebBuilder.BuildActionUrl<NewsController>(m => m.News(null)))',
				},
				vars: {
				},
				elements: {
					pager: '#news-pager',
					content: '#news-content'
				}
			});
		});
</script>